package com.eascs.web.o2o.scheduler.entity;

import javax.persistence.*;
import java.io.Serializable;


@Entity
@Table(name="report_bp_performance_task")
@NamedQuery(name="BpPerformanceTaskEntity.findAll", query="SELECT t FROM report_bp_performance_task t")
public class BpPerformanceTaskEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private String province;

	@Column(name="years")
	private int year;

	@Column(name="months")
	private int month;

	private int quarter;

	//任务类型: 0-月度，1-季度，2-年度',
	@Column(name="task_type")
	private int taskType;

	@Column(name="task_amount")
	private int taskAmount;

	@Column(name="client_new_count")
	private int clientNewCount;

	@Column(name="client_new_amount")
	private int clientNewAmount;

	@Column(name="client_old_count")
	private int clientOldCount;

	@Column(name="client_old_amount")
	private int clientOldAmount;

	@Column(name="total_count")
	private int totalCount;

	@Column(name="total_amount")
	private int totalAmount;

	@Column(name="task_complete_ratio")
	private String  taskCompleteRatio;

	@Column(name="current_issue_rank")
	private int currentIssueRank;

	@Column(name="pre_issue_rank")
	private int preIssueRank;

	public BpPerformanceTaskEntity() {
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		this.year = year;
	}

	public int getMonth() {
		return month;
	}

	public void setMonth(int month) {
		this.month = month;
	}

	public int getQuarter() {
		return quarter;
	}

	public void setQuarter(int quarter) {
		this.quarter = quarter;
	}

	public int getTaskType() {
		return taskType;
	}

	public void setTaskType(int taskType) {
		this.taskType = taskType;
	}

	public int getTaskAmount() {
		return taskAmount;
	}

	public void setTaskAmount(int taskAmount) {
		this.taskAmount = taskAmount;
	}

	public int getClientNewCount() {
		return clientNewCount;
	}

	public void setClientNewCount(int clientNewCount) {
		this.clientNewCount = clientNewCount;
	}

	public int getClientNewAmount() {
		return clientNewAmount;
	}

	public void setClientNewAmount(int clientNewAmount) {
		this.clientNewAmount = clientNewAmount;
	}

	public int getClientOldCount() {
		return clientOldCount;
	}

	public void setClientOldCount(int clientOldCount) {
		this.clientOldCount = clientOldCount;
	}

	public int getClientOldAmount() {
		return clientOldAmount;
	}

	public void setClientOldAmount(int clientOldAmount) {
		this.clientOldAmount = clientOldAmount;
	}

	public int getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}

	public int getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(int totalAmount) {
		this.totalAmount = totalAmount;
	}

	public String getTaskCompleteRatio() {
		return taskCompleteRatio;
	}

	public void setTaskCompleteRatio(String taskCompleteRatio) {
		this.taskCompleteRatio = taskCompleteRatio;
	}

	public int getCurrentIssueRank() {
		return currentIssueRank;
	}

	public void setCurrentIssueRank(int currentIssueRank) {
		this.currentIssueRank = currentIssueRank;
	}

	public int getPreIssueRank() {
		return preIssueRank;
	}

	public void setPreIssueRank(int preIssueRank) {
		this.preIssueRank = preIssueRank;
	}
}